package com.weiwu.weiwustore.pojo;

import com.weiwu.weiwustore.utils.DateUtil;
import lombok.Data;

import java.util.Date;

/**
 * 前端我的申请列表封装类
 */
@Data
public class ApplyListVo {
    private String applicationid;
    private String type;
    private String state;
    private String reviewer;
    private String checker;
    private String applytime;
    private String updatetime;
    public ApplyListVo(){}
    public ApplyListVo(String applicationid, String type, String state, String reviewer, String checker, Date applytime, Date updatetime){
        this.applicationid=applicationid;
        this.type=type;
        this.reviewer=reviewer;
        this.state=state;
        this.checker=checker;
        this.applytime= DateUtil.getSimpleDate(applytime);
        this.updatetime=DateUtil.getSimpleDate(updatetime);
    }

}
